package company;

import java.util.Scanner;

public class demo2 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int num=100;
        //int num=sc.nextInt();
        while(num>=1)
        {
            if(num%10!=3&&num%10!=5&&num%10!=7)
            {
                System.out.println(num);
            }
            num--;
        }

    }
}
